home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / EmacsManagerP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-01  |  1.9 KB  |  66 lines

  1. /* Copyright (C) 1995 Amdahl Corporation.
  2.  
  3. This file is part of XEmacs.
  4.  
  5. XEmacs is free software; you can redistribute it and/or modify it
  6. under the terms of the GNU General Public License as published by the
  7. Free Software Foundation; either version 2, or (at your option) any
  8. later version.
  9.  
  10. XEmacs is distributed in the hope that it will be useful, but WITHOUT
  11. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12. FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13. for more details.
  14.  
  15. You should have received a copy of the GNU General Public License
  16. along with XEmacs; see the file COPYING.  If not, write to the Free
  17. Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  18.  
  19. /* Synched up with: Not in FSF. */
  20.  
  21. /* Written by Ben Wing. */
  22.  
  23. #ifndef _EmacsManagerP_h
  24. #define _EmacsManagerP_h
  25.  
  26.  
  27. #include "xintrinsicp.h"
  28. #ifdef LWLIB_USES_MOTIF
  29. #include "xmmanagerp.h"
  30. #endif
  31. #include "EmacsManager.h"
  32.  
  33. typedef struct {        /* new fields for EmacsManager class */
  34.   int dummy;
  35. } EmacsManagerClassPart;
  36.  
  37. typedef struct _EmacsManagerClassRec {    /* full class record declaration */
  38.   CoreClassPart core_class;
  39.   CompositeClassPart composite_class;
  40. #ifdef LWLIB_USES_MOTIF
  41.   ConstraintClassPart constraint_class;
  42.   XmManagerClassPart manager_class;
  43. #endif
  44.   EmacsManagerClassPart emacs_manager_class;
  45. } EmacsManagerClassRec;
  46.  
  47. typedef struct {        /* new fields for EmacsManager widget */
  48.   XtCallbackList resize_callback;
  49.   XtCallbackList query_geometry_callback;
  50.   XtPointer user_data;
  51. } EmacsManagerPart;
  52.  
  53. typedef struct _EmacsManagerRec {    /* full instance record */
  54.     CorePart core;
  55.     CompositePart composite;
  56. #ifdef LWLIB_USES_MOTIF
  57.     ConstraintPart constraint;
  58.     XmManagerPart manager;
  59. #endif
  60.     EmacsManagerPart emacs_manager;
  61. } EmacsManagerRec;
  62.  
  63. extern EmacsManagerClassRec emacsManagerClassRec;     /* class pointer */
  64.  
  65. #endif /* _EmacsManagerP_h */
  66.